<?php
/**
 * <https://y.st./>
 * Copyright © 2016 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'title' => "$a[CD] technology is a pain.",
	'body' => <<<END
<p>
	Predictably, the modem went down today.
	When it came back up, I asked Cyrus if he&apos;d reset it, but he said that Vanessa had done it.
	It was down for several hours while they were in school, but $a[Tor] is still running on <a href="/en/domains/cepo.local.xhtml">cepo</a>, so the bug workaround must be working.
</p>
<p>
	The nearby bank wouldn&apos;t change my money for smaller bills, which is strange, as they&apos;ve done it before.
	It seems that they&apos;ve changed their system, and an account number is needed even for something as simple as making change, even though no changes are made to the account whatsoever.
	I thought that I wouldn&apos;t have much to eat today, but then I ended up taking a trip to my old work place to try to get used boxes that they always throw out.
	They didn&apos;t have any boxes, but because I was in the area, I stopped by one of my credit unions.
	They didn&apos;t even require me to have an account to make change, though I made sure to bring my $a[ID] in case they did require an account.
	Later in the day, I also found my can opener in my bag where I thought that I&apos;d put it, but I wasn&apos;t able to find it before we left.
	I have both cash and a stock of random cans that can eat from.
</p>
<p>
	I&apos;m at a loss as to what to do.
	I&apos;m supposed to vacuum this place while avoiding boxing things that we&apos;re not keeping, but I can&apos;t honestly make any progress with all this stuff scattered about.
	I have no idea what we&apos;re keeping and not, but the fact is, the floors are covered in junk.
	If I don&apos;t box it and get it out of the way, I can&apos;t actually get much vacuuming done.
	I stopped by my former place of employment to ask them for boxes, but they&apos;d already thrown them out for the night.
	Overwhelmed, I mostly took the day off to collect my thoughts and plan for the job ahead of me.
	I did box up the piles of magazines in the living room though.
	I&apos;ll check back tomorrow to see if I can get more boxes.
</p>
<p>
	A long time ago, I saw someone mention ripping vinyl records into $a[MP3] files on television.
	Assuming that this wasn&apos;t a plot hole and they weren&apos;t using some made-up technology, could I not do the same, but rip into $a[FLAC] files instead? I decided to look into what it would take to rip the bonus record that I got from Marc when I ordered <a href="https://marcwithac.bandcamp.com/album/unicorns-get-more-bacon">Unicorns Get More Bacon</a>.
	Attempting to look up the name of this record, it seems that I <a href="/en/weblog/2016/01-January/27.xhtml">neglected to mention it by name</a>, but the thought of being able to make use of the record after all intrigued me.
	This was just a passing whimsical thought, but it was worth looking into if for no other reason than to help me relax.
	I read an article on <a href="http://www.techhive.com/article/202760/convert_vinyl.html">ripping vinyl records into digital files</a>, and it seems too expensive to me.
	A cheap $a[USB] turntable would cost about \$100 $a[USD].
	More interestingly though, the article mentions that when you rip a $a[CD], track information is added automatically.
	If this information is being added automatically, it must be on the $a[CD], right? Additionally, when I ripped Marc&apos;s cover $a[CD], that information was not present in the files obtained.
	Had I ripped the $a[CD] incorrectly? I looked into it though, and it seems that many $a[CD] rippers use an <a href="https://en.wikipedia.org./wiki/CDDB">online database</a> to find the data to add to the ripped tracks; this data isn&apos;t on the $a[CD] itself.
	However, it got me thinking: the $a[CD] does have a concept of track numbers, even if no other meta data is present.
	That data is lost when ripping.
	Should it not be added back? But at the point that I add that information to the files, am I not already modifying the files? Should I also add back in the other missing meta data while I&apos;m at it? I strongly believe that I shouldn&apos;t add missing meta data to music files that I acquire as files.
	After all, if the meta data was meant to be there, it would already be there.
	However, the situation is a bit strange with $a[CD]s.
	Transferring the music from $a[CD] to digital file is a change of mediums.
	The meta data is all (or maybe just mostly) there, it&apos;s just printed on the $a[CD] case insert instead of in the files, as there are no files.
	Should I copy this information into the files? Adding the cover art will prove problematic, as there&apos;s no lossless way to convert the physical cover into a digital image.
</p>
<p>
	I also reconsidered the format for my archive.
	Because the files do not exist as files on the $a[CD], perhaps the best representation of the original disk for on a file system is a disk image.
	That idea didn&apos;t pan out though, as it turns out that software on the computer can&apos;t actually see the data on the disc.
	Instead, the $a[CD] drive reads and interprets the data on the drive, then passes what it finds on to the computer.
	This means that because each track is sent to the machine separately, it&apos;s not possible to view the disc as a whole, so it&apos;s not possible to create (or use) a disc image.
	Worse though, the error correction used when discs are scratched is also performed by the $a[CD] drive itself.
	It&apos;s not possible for the computer to know if the data is damaged and had to be repaired! On <a href="ircs://irc.oftc.net:6697/%23Debian-Offtopic">#Debian-Offtopic</a>, Nemodir recommended <a href="apt:morituri">Morituri</a>, a $a[CD] ripper that asks the drive to read the $a[CD] twice and compares the results in an attempt to detect problems with the physical disc.
	I think I&apos;ll start using that to rip $a[CD]s and may rerip Marc&apos;s cover song $a[CD] with it.
</p>
END
);
